//
// Created by zhangzeyong on 2024/6/18.
//

#ifndef GUOXIN_JINZHENG_GLOBAL_DEFINE_H
#define GUOXIN_JINZHENG_GLOBAL_DEFINE_H

#include <iostream>
#include <fstream>
#include <map>
#include <string>
#include <algorithm>
#include <utility>
#include <unistd.h>
#include <thread>
#include "concurrent/concurrentqueue.h"
#include "concurrent/blockingconcurrentqueue.h"

#include <log4cplus/logger.h>
#include <log4cplus/configurator.h>
#include <log4cplus/loggingmacros.h>

using namespace log4cplus;

#define COMMON_LOGGER Logger::getInstance(LOG4CPLUS_TEXT("common"))
#define TRADE_LOGGER Logger::getInstance(LOG4CPLUS_TEXT("trade"))
#define MD_LOGGER Logger::getInstance(LOG4CPLUS_TEXT("md"))
#define ALGO_LOGGER Logger::getInstance(LOG4CPLUS_TEXT("algo"))

#define LOG4CPLUS_CONFIG_PATH "../config/log4cplus.ini"
#define TRADE_CONFIG_PATH "../config/trade.ini"
#define MD_CONFIG_PATH "../config/md.ini"
#define HOLDING_PATH "../config/holding.json"

#define ITEM_SIZE_1024 1024

#endif //GUOXIN_JINZHENG_GLOBAL_DEFINE_H
